package lingou.homework.postbar.exception;

public class BusinessException extends RuntimeException {
    public static final BusinessException NO_LOGIN = new BusinessException("当前未登陆账号，请先登录！");
    public static final BusinessException NO_PERMISSION = new BusinessException("无权限！");
    public static final BusinessException UNSUPPORTED = new BusinessException("不支持的操作！");
    public static final BusinessException REPEATED = new BusinessException("无法重复操作！");

    public BusinessException(Throwable cause) {
        super(cause);
    }
    public BusinessException(String message) {
        super(message);
    }
}
